<html xmlns:th="http://www.thymeleaf.org">
<!--------------------------------------- TODO 自定义 headFragment 模板 --------------------------------------->
<head th:fragment="headFragment(title,link,style)">
    <meta charset="utf-8">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="shortcut icon" th:href="@{/static/img/favicon.ico}" type="image/x-icon">
    <!--Font Awesome css样式-->
    <link rel="stylesheet" th:href="@{/static/css/font-awesome/css/font-awesome.min.css}" media="all">
    <!--layui css样式-->
    <link rel="stylesheet" th:href="@{/static/js/layui/css/layui.css}" media="all">
    <!--通用sysAdmin css样式-->
    <link rel="stylesheet" th:href="@{/static/js/admin/admin.css}" media="all">
    <!--动态加载标签-->
    <th:block th:if="${title == null}"><title>SNOOB后台管理系统</title></th:block>
    <th:block th:if="${title != null}"><title th:replace="${title}">自定义网页标题</title></th:block>
    <th:block th:if="${link != null}"><th:block th:replace="${link}"></th:block></th:block>
    <th:block th:if="${style != null}"><th:block th:replace="${style}"></th:block></th:block>
</head>
<!--------------------------------------- TODO 自定义 scriptFragment 模板 ----------------------------------------->
<th:block th:fragment="scriptFragment">
    <!--layui插件-->
    <script th:src="@{/static/js/layui/layui.js}" charset="utf-8"></script>
    <!--Jquery插件-->
    <script th:src="@{/static/js/jquery/jquery.min.js}" charset="utf-8"></script>
    <!--通用js脚本-->
    <script th:src="@{/static/js/baseUtil.js}" charset="utf-8"></script>
    <!--通用弹框脚本-->
    <script th:src="@{/static/js/admin/admin.js}" charset="utf-8"></script>
</th:block>
